<?php

namespace Home\Controller;

use Think\Controller;

class IndexController extends Controller {



    public function index() {
        $welcome = [
            'title' => '12306泄漏密码',
            'info' => 'welcome'
        ];
        $this->assign("welcome", $welcome);
        $this->display();
    }
    
    public function chepiao(){
        $chepiao_logic = D('Home/Chepiao', 'Logic');
        $list = $chepiao_logic->getCpList();
        $this->assign(array(
            'list' => $list
        ));
        $this->display();
    }


}